package com.itheima.d9_abstract_template;

public class Test {
    public static void main(String[] args) {
        //理解模板方法模式思想和使用步骤
        StudentMiddle studentMiddle = new StudentMiddle();
        StudentPrimary studentPrimary = new StudentPrimary();
        studentMiddle.write();
        studentPrimary.write();
    }
}
